//
//  ViewController.swift
//  ObserveTiming
//
//  Created by fanxiaoxin_1987@126.com on 10/25/2021.
//  Copyright (c) 2021 fanxiaoxin_1987@126.com. All rights reserved.
//

import UIKit
import UICreate

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
//        self.view.set(.bg(.green))
//        self.view.add(UIView(.bg(.yellow)), layout: .margin)
        self.view.add {
//            UIView(.bg(.systemRed)).add {
                UILabel(.text("FUCK"), .boldFont(size: 24), .color(.systemBlue)).layout(.center)
//            }.layout(.margin(20))
        }
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

